package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;

/**
 * @program: heima-leadnews
 * @description: 登录
 * @author: Mr.Gu
 * @create: 2021-08-08 21:51
 **/

public interface UserLoginService extends IService<AdUser> {

    /**
     * 登录
     * @param dto
     * @return
     */
    ResponseResult login(AdUserDto dto);
}
